using MediatR;
using Traceability.API.Dtos;
using Traceability.ErrorCode;

namespace Traceability.API.APPLications.Commands.TraceabilityInfoshow
{
    /// <summary>
    /// 获取所有溯源信息查询命令（不带条件，仅分页）
    /// </summary>
    public class GetAllTraceabilityInfoQuery : IRequest<APIResult<PagedResultDto<TraceabilityInfoDto>>>
    {
        /// <summary>
        /// 页码（从1开始）
        /// </summary>
        public int PageIndex { get; set; } = 1;

        /// <summary>
        /// 每页记录数
        /// </summary>
        public int PageSize { get; set; } = 10;
    }
} 